package com.byxy.demo2.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.byxy.demo2.dao.ReplyDao;
import com.byxy.demo2.entity.Reply;
import com.byxy.demo2.service.ReplyService;
@Service
@Transactional
public class ReplyServiceimpl implements ReplyService {
	@Autowired
	private ReplyDao replydao;
	
	@Override
	public List<Reply> findByTip(Integer tipId) {
		// TODO Auto-generated method stub
		return replydao.findByTipId(tipId);
	}

}
